package com.pay.ioopos.support.serialport.custom;

/**
 * 反序列化输入指令：发起退款
 * @author moyq5
 * @since 2022/8/2
 * @see SerialPortPayCmd2Refund
 */
public class SerialPortPayCmd4RefundDer extends CustomCmdDeserializerAbstract<SerialPortPayCmd4Refund> {

    @Override
    public SerialPortPayCmd4Refund deserialize(byte[] data) {
        SerialPortPayCmd4Refund result = super.deserialize(data);
        return (SerialPortPayCmd4Refund)SerialPortPayCmd4SubmitDerUtils.deserialize(result);
    }

    @Override
    protected Class<SerialPortPayCmd4Refund> resultClass() {
        return SerialPortPayCmd4Refund.class;
    }
}
